/* 平板设备 */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .brain-container {
        padding: 0 20px;
    }

    .nav-auth .auth-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 移动设备 */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }

    .nav-menu {
        display: none;
    }

    main {
        margin-bottom: 60px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .chat-container {
        margin: 0;
        height: calc(100vh - 140px);
    }

    .chat-messages {
        height: calc(100vh - 260px);
    }

    .brain-container {
        padding: 0;
    }

    .brain-chart {
        height: 400px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .avatar {
        margin: 0 0 20px 0;
    }

    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .bottom-nav .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px;
        color: var(--text-color);
        text-decoration: none;
        font-size: 12px;
    }

    .bottom-nav .nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .bottom-nav .nav-item.active {
        color: var(--primary-color);
        background: none;
    }

    .nav-auth {
        display: none;
    }
}

/* 小型移动设备 */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card i {
        font-size: 36px;
    }

    .chat-input {
        padding: 10px;
    }

    .chat-input input {
        padding: 8px 16px;
    }

    .chat-input button {
        padding: 8px 16px;
    }

    .brain-stats {
        flex-direction: column;
        gap: 20px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }
}

/* 横屏模式 */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .navbar {
        height: 50px;
    }

    main {
        margin-top: 50px;
    }

    .hero {
        padding: 20px;
    }

    .chat-container {
        height: calc(100vh - 100px);
    }

    .chat-messages {
        height: calc(100vh - 200px);
    }

    .bottom-nav {
        height: 50px;
    }
} 